All Questions
Tagged with side-effectdomain-driven-design
2 questions
0votes
1answer
666views
Side-effect-free functions and returning domain information DDD
In Domain-Driven Design (Eric Evans) the discussion on side-effect-free functions talks about separating commands which "result in modifications to observable state" from queries which have no side-...
11votes
2answers
937views
Where do we put "asking the world" code when we separate computation from side effects?
According to Command-Query Separation principle, as well as Thinking in Data and DDD with Clojure presentations one should separate side effects (modifying the world) from computations and decisions, ...